
import 'babel-polyfill'
import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'umy-ui/lib/theme-chalk/index.css';// 引入pltable样式
import routes from './router'
import qupComponent from './index'

/* import drag from './directives/el-drag-dialog/drag'
Vue.directive('el-drag-dialog',drag) */

Vue.use(ElementUI)
Vue.use(qupComponent)
Vue.use(VueRouter)
import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard)

const router = new VueRouter({
  routes
})
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
